package com.demo.dao;

import com.demo.entity.User;
import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    User selectByPrimaryKey(Integer id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);
    
    public User login(String name,String pwd,String roles);
    
    String findMaxId();
    
    String checkRegister(String name);
}